package com.jrx.anytxn.investor.dto.loan;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 出资方贷款信息响应
 *
 * @author 黄秋平
 * @create 2020/6/18
 */
public class LoanMainInvestorInfoRes implements Serializable {
    /**
     * 自增主键
     * 表字段:id
     */
    private Long id;

    /**
     * 租户ID
     * 表字段:tenant_id
     */
    private String tenantId;

    /**
     * 出资方贷款订单id
     * 表字段:investor_loan_id
     */
    private String investorLoanId;

    /**
     * 贷款订单id
     * 表字段:loan_id
     */
    private String loanId;

    /**
     * 出资方ID
     * 表字段:investor_id
     */
    private String investorId;

    /**
     * 出资方ID名称
     * 表字段:investor_id
     */
    private String chineseName;

    /**
     * 出资方比例
     * 表字段:invertor_percentage
     */
    private BigDecimal invertorPercentage;

    /**
     * 轧差方 0-否,1-是
     * 表字段:offset_flag
     */
    private String offsetFlag;

    /**
     * 机构号
     * 表字段:organization_id
     */
    private String organizationId;

    /**
     * 渠道id
     * 表字段:channel
     */
    private String channel;

    /**
     * 产品id
     * 表字段:product_id
     */
    private String productId;

    /**
     * 贷款类型
     * 表字段:loan_type
     */
    private String loanType;

    /**
     * 交易码
     * 表字段:txn_code
     */
    private String txnCode;

    /**
     * 客户id
     * 表字段:customer_id
     */
    private String customerId;

    /**
     * 贷款金额
     * 表字段:loan_amount
     */
    private BigDecimal loanAmount;

    /**
     * LPR贷款基础利率
     * 表字段:loan_prime_rate
     */
    private BigDecimal loanPrimeRate;

    /**
     * 年利率
     * 表字段:interest_rate
     */
    private BigDecimal interestRate;

    /**
     * 执行日利率
     * 表字段:actual_daily_rate
     */
    private BigDecimal actualDailyRate;

    /**
     * 抛账日
     * 表字段:billing_cycle
     */
    private Integer billingCycle;

    /**
     * 还款日
     * 表字段:payment_date_dd
     */
    private Integer paymentDateDd;

    /**
     * 交易起息日
     * 表字段:interest_start_date
     */
    private Date interestStartDate;

    /**
     * 总期数
     * 表字段:total_tenor
     */
    private Integer totalTenor;

    /**
     * 交易时间 业务时间
     * 表字段:txn_time
     */
    private Date txnTime;

    /**
     * 入账日期 业务日期
     * 表字段:posting_date
     */
    private Date postingDate;

    /**
     * 合同号
     * 表字段:contract_id
     */
    private String contractId;

    /**
     * 外部合同号
     * 表字段:contract_number
     */
    private String contractNumber;

    /**
     * 利息参数表id
     * 表字段:investor_interest_table_id
     */
    private String investorInterestTableId;

    /**
     * 提前结清参数表id
     * 表字段:investor_payoff_table_id
     */
    private String investorPayoffTableId;

    /**
     * 罚息参数表id
     * 表字段:investor_penalty_table_id
     */
    private String investorPenaltyTableId;

    /**
     * 费用参数表id
     * 表字段:investor_fee_table_id
     */
    private String investorFeeTableId;

    /**
     * 还款顺序参数表id
     * 表字段:payment_sequence_table_id
     */
    private String paymentSequenceTableId;

    /**
     * 本金摊销方式(还款方式)参数表id
     * 表字段:amort_method_table_id
     */
    private String amortMethodTableId;

    /**
     * 延滞参数id
     * 表字段:delq_table_id
     */
    private String delqTableId;

    /**
     * 提前还款参数表id
     * 表字段:investor_prepay_table_id
     */
    private String investorPrepayTableId;

    /**
     * 合作方id
     * 表字段:partner_id
     */
    private String partnerId;

    /**
     * 贷款流水号
     * 表字段:serial_number
     */
    private String serialNumber;

    /**
     * 客户收款账号
     * 表字段:customer_account_number
     */
    private String customerAccountNumber;

    /**
     * 贷款用途
     * 表字段:loan_use
     */
    private String loanUse;

    /**
     * 资金源id
     * 表字段:fund_id
     */
    private String fundId;

    /**
     * 备注
     * 表字段:memoid
     */
    private String memoid;

    /**
     * 首次还款日期
     * 表字段:first_payment_date
     */
    private Date firstPaymentDate;

    /**
     * 最后一次计划还款日期
     * 表字段:last_payment_date
     */
    private Date lastPaymentDate;

    /**
     * 总天数
     * 表字段:total_days
     */
    private Integer totalDays;

    /**
     * 商户id
     * 表字段:merchant_id
     */
    private String merchantId;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getInvestorLoanId() {
        return investorLoanId;
    }

    public void setInvestorLoanId(String investorLoanId) {
        this.investorLoanId = investorLoanId;
    }

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    public String getInvestorId() {
        return investorId;
    }

    public void setInvestorId(String investorId) {
        this.investorId = investorId;
    }

    public BigDecimal getInvertorPercentage() {
        return invertorPercentage;
    }

    public void setInvertorPercentage(BigDecimal invertorPercentage) {
        this.invertorPercentage = invertorPercentage;
    }

    public String getOffsetFlag() {
        return offsetFlag;
    }

    public void setOffsetFlag(String offsetFlag) {
        this.offsetFlag = offsetFlag;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getLoanType() {
        return loanType;
    }

    public void setLoanType(String loanType) {
        this.loanType = loanType;
    }

    public String getTxnCode() {
        return txnCode;
    }

    public void setTxnCode(String txnCode) {
        this.txnCode = txnCode;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public BigDecimal getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(BigDecimal loanAmount) {
        this.loanAmount = loanAmount;
    }

    public BigDecimal getLoanPrimeRate() {
        return loanPrimeRate;
    }

    public void setLoanPrimeRate(BigDecimal loanPrimeRate) {
        this.loanPrimeRate = loanPrimeRate;
    }

    public BigDecimal getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(BigDecimal interestRate) {
        this.interestRate = interestRate;
    }

    public BigDecimal getActualDailyRate() {
        return actualDailyRate;
    }

    public void setActualDailyRate(BigDecimal actualDailyRate) {
        this.actualDailyRate = actualDailyRate;
    }

    public Integer getBillingCycle() {
        return billingCycle;
    }

    public void setBillingCycle(Integer billingCycle) {
        this.billingCycle = billingCycle;
    }

    public Integer getPaymentDateDd() {
        return paymentDateDd;
    }

    public void setPaymentDateDd(Integer paymentDateDd) {
        this.paymentDateDd = paymentDateDd;
    }

    public Date getInterestStartDate() {
        return interestStartDate;
    }

    public void setInterestStartDate(Date interestStartDate) {
        this.interestStartDate = interestStartDate;
    }

    public Integer getTotalTenor() {
        return totalTenor;
    }

    public void setTotalTenor(Integer totalTenor) {
        this.totalTenor = totalTenor;
    }

    public Date getTxnTime() {
        return txnTime;
    }

    public void setTxnTime(Date txnTime) {
        this.txnTime = txnTime;
    }

    public Date getPostingDate() {
        return postingDate;
    }

    public void setPostingDate(Date postingDate) {
        this.postingDate = postingDate;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getInvestorInterestTableId() {
        return investorInterestTableId;
    }

    public void setInvestorInterestTableId(String investorInterestTableId) {
        this.investorInterestTableId = investorInterestTableId;
    }

    public String getInvestorPayoffTableId() {
        return investorPayoffTableId;
    }

    public void setInvestorPayoffTableId(String investorPayoffTableId) {
        this.investorPayoffTableId = investorPayoffTableId;
    }

    public String getInvestorPenaltyTableId() {
        return investorPenaltyTableId;
    }

    public void setInvestorPenaltyTableId(String investorPenaltyTableId) {
        this.investorPenaltyTableId = investorPenaltyTableId;
    }

    public String getInvestorFeeTableId() {
        return investorFeeTableId;
    }

    public void setInvestorFeeTableId(String investorFeeTableId) {
        this.investorFeeTableId = investorFeeTableId;
    }

    public String getPaymentSequenceTableId() {
        return paymentSequenceTableId;
    }

    public void setPaymentSequenceTableId(String paymentSequenceTableId) {
        this.paymentSequenceTableId = paymentSequenceTableId;
    }

    public String getAmortMethodTableId() {
        return amortMethodTableId;
    }

    public void setAmortMethodTableId(String amortMethodTableId) {
        this.amortMethodTableId = amortMethodTableId;
    }

    public String getDelqTableId() {
        return delqTableId;
    }

    public void setDelqTableId(String delqTableId) {
        this.delqTableId = delqTableId;
    }

    public String getInvestorPrepayTableId() {
        return investorPrepayTableId;
    }

    public void setInvestorPrepayTableId(String investorPrepayTableId) {
        this.investorPrepayTableId = investorPrepayTableId;
    }

    public String getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(String partnerId) {
        this.partnerId = partnerId;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getCustomerAccountNumber() {
        return customerAccountNumber;
    }

    public void setCustomerAccountNumber(String customerAccountNumber) {
        this.customerAccountNumber = customerAccountNumber;
    }

    public String getLoanUse() {
        return loanUse;
    }

    public void setLoanUse(String loanUse) {
        this.loanUse = loanUse;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getMemoid() {
        return memoid;
    }

    public void setMemoid(String memoid) {
        this.memoid = memoid;
    }

    public Date getFirstPaymentDate() {
        return firstPaymentDate;
    }

    public void setFirstPaymentDate(Date firstPaymentDate) {
        this.firstPaymentDate = firstPaymentDate;
    }

    public Date getLastPaymentDate() {
        return lastPaymentDate;
    }

    public void setLastPaymentDate(Date lastPaymentDate) {
        this.lastPaymentDate = lastPaymentDate;
    }

    public Integer getTotalDays() {
        return totalDays;
    }

    public void setTotalDays(Integer totalDays) {
        this.totalDays = totalDays;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getChineseName() {
        return chineseName;
    }

    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }
}
